﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Core
{
    public class PagedList<T>
    {
        public List<T> DataList { get; set; }

        public int Start { get; set; }
        public int Limit { get; set; }
        public int TotalCount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="dataList"></param>
        /// <param name="start"></param>
        /// <param name="limit"></param>
        /// <param name="totalCount"></param>
        public PagedList(List<T> dataList, int start, int limit, int totalCount)
        {
            DataList = dataList;
            Start = start;
            Limit = limit;
            TotalCount = totalCount;
        }
    }
}
